/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework.demo01;

/**
 *2010404114l李汉升
 * @author Administrator
 */
public class Bookjava {
     private int conding;
    private String title;
    private double price;

    public Bookjava(int conding, String title, double price) {
        this.conding = conding;
        this.title = title;
        this.price = price;
    }
    
    public static void main(String[] args) {
     Bookjava ebook = new Bookjava(123456,"java",98.34);
     System.out.println("图书编号为："+ebook.conding);
     System.out.println("图书名为："+ebook.title);
     System.out.println("图书价格为："+ebook.price);
    }

}


